/**
 * 入口配置文件
 * author:莫若省
 * elementPlusIconAllImport elementPlus全部图标资源导入
 * globalComponentsAllImport 全局组件注册导入
 * pluginImport 第三方插件使用导入
 * listenGlobalErrorEvent 全局错误监听
 * @/log/uploadLog/index 全局日志上报
 */
import { createApp } from 'vue';
import 'virtual:svg-icons-register';
import App from './App.vue';
import '@/styles/index.scss';
import 'uno.css';
import { elementPlusIconAllImport } from './config/elementPlusConfig/elementIconAllImport';
import { globalComponentsAllImport } from './config/globalComponentsConfig/globalComponentsAllImport';
import { pluginImport } from './config/pluginImportConfig/pluginImport';
import { listenGlobalErrorEvent } from './log/listenGlobalErrorEvent';
import '@/log/uploadLog';
listenGlobalErrorEvent();
const app = createApp(App);
elementPlusIconAllImport(app);
globalComponentsAllImport(app);
pluginImport(app);
app.mount('#app');
